package com.jeff.penny.descriptor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "web-app")
@XmlAccessorType(XmlAccessType.FIELD)
public class WebAppDefinition
{
  @XmlElement(name = "servlet")
  private ServletDefinition[] servlets;

  protected WebAppDefinition()
  {}

  public ServletDefinition[] getServlets()
  {
    return servlets;
  }

  public void setServlets(ServletDefinition[] servlets)
  {
    this.servlets = servlets;
  }
}
